* admin_windows7_virtualbox_known_issues.txt
* 2023.02.25
* admin/KnownIssues

1. DESCRIPTION

2. EXECUTION ERRORS
2.1. VirtualBox COM Component error ERROR_KEY_DELETED 0x800703fa

-------------------------------------------------------------------------------
1. DESCRIPTION
-------------------------------------------------------------------------------
This is a readme file from the `contools` project.

-------------------------------------------------------------------------------
2. EXECUTION ERRORS
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
2.1. VirtualBox COM Component error ERROR_KEY_DELETED 0x800703fa
-------------------------------------------------------------------------------

Reason #1:

The registry hive key is used by the VirtualBox instance is forced to unload:

HKEY_USERS\S-*

, where the same SID in the

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-*

has RefCount=0

Which means the profile is not referenced by anyone and can be unloaded.

This basically happens when the `VirtualBox.exe` has been run under different
user other than that has been installed for. Windows by default force the user
hive key to unload when the last user process does exit.

Solution #1:

You can disable the user registry key force unload on last user process exit
using `Local Group Policy Editor` component (`GPEDIT.MSC`):

  * Computer Configuration\Administrative Templates\System\User Profiles
    Do not forcefully unload the users registry at user logoff

Related registry paths:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{6F28E90F-2038-4F5B-89E5-7D20117C05AD}Machine\Software\Policies\Microsoft\Windows\System
DisableForceUnload REG_SWORD 1

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{839F972D-5258-41D7-9F02-E348539BD604}Machine\Software\Policies\Microsoft\Windows\System
DisableForceUnload REG_SWORD 1
